import http from "@/scripts/request"

const controller = "/sqlDatabase";

export default {
	/**
	 * 执行sql脚本
	 * @param params
	 * @returns {Promise<T>}
	 */
	executeSqlScript: async function (params) {
		return await http.post(`${controller}/executeScript`, params);
	}
}
